package com.wd.zhujiedemo.controller;

import com.wd.zhujiedemo.annotation.ParameterAnnotation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Author wDong
 * @Date 2022/6/21 11:28
 * @Version 1.0
 */
@RestController
public class TestController {

    @PostMapping("/a")
    @ParameterAnnotation
    public String A(@RequestBody Map<String,String> map){
        System.out.println(map);
        return "Aaaaaaaa";
    }

}
